define(function() {
	var $ = Dom7;
	
	
	var typeConfig = [
		{code:'material',name:'物资采购'},
		{code:'drug',name:'药品采购'},
		{code:'device',name:'设备采购'},
		{code:'infrastructure',name:'基建项目'},
		{code:'logistic',name:'后勤采购'},
		{code:'personnel',name:'人事事项'},
		{code:'office',name:'行政事项'},
		{code:'assets',name:'固定资产'}
	]	
	
	//业务模块定义
	var modulConfig = [	
		{"keys":"1","code":"oaTempDrugPurchase","name":"紧急用药","type":["drug"]},
		{"keys":"2","code":"oaDrugPurchase","name":"日常药品","type":["drug"]},
		{"keys":"3","code":"oaNewMedicalSupplies","name":"新进耗材","type":["material"]},
		{"keys":"4","code":"oaMedicalSupply","name":"医用耗材","type":["material"]},
		{"keys":"5","code":"oaOfficeBuy","name":"行政物资","type":["material"]},  
		{"keys":"6","code":"oaDepartmentBuy","name":"科室采购","type":["material"]},
		{"keys":"7","code":"oaHighvalue","name":"高值耗材","type":["material"]},
		{"keys":"8","code":"oaSupplyMid","name":"五百耗材","type":["material"]},
		{"keys":"9","code":"oaEquipRepair","name":"维修配件","type":["material"]},
		{"keys":"10","code":"oaCanteenMaterial","name":"食堂采购","type":["material","logistic"]},       
		
		{"keys":"11","code":"oaMediumProject","name":"中型基建","type":["infrastructure"]},
		{"keys":"12","code":"oaConstructSmall","name":"基建小修","type":["infrastructure"]},  
		{"keys":"13","code":"oaInfrastructureRepaire","name":"基建维修","type":["infrastructure"]},      
		
		{"keys":"14","code":"oaDeptPayment","name":"科室付款","type":["fianance"]},
		{"keys":"15","code":"oaSeniorTitleAppointment","name":"职称聘任","type":["personnel"]},    
		{"keys":"16","code":"oaOfficeLeave","name":"行政请假","type":["personnel"]},
		{"keys":"17","code":"oaWorkerLeave","name":"职工请假","type":["personnel"]},   
		{"keys":"18","code":"oaEquipmentPurchaseBig","name":"大型设备","type":["device"]},
		{"keys":"19","code":"oaEquipmentPurchaseSmall","name":"小型设备","type":["device"]},
		{"keys":"20","code":"oaLogisticsLargeEquip","name":"后勤设备","type":["device","logistic"]},
		
		{"keys":"21","code":"oaPermanentDestory","name":"资产报废","type":["assets"]}, 
		{"keys":"22","code":"oaPermanentAlloc","name":"资产调拨","type":["assets"]},
		
		{"keys":"23","code":"oaHospitalModelShow","name":"形象宣传","type":["office"]}
	]
	
	var fieldConfig = [
		
		{"name":"事项名称","code":"name","type":"text"},
		{"name":"申请理由","code":"apply_content","type":"sign"},
		{"name":"科室分管领导意见","code":"directLeader_content","type":"sign"},
		{"name":"药剂科意见","code":"biz_content","type":"sign"},
		
		{"name":"物价审计科意见","code":"audit_content","type":"sign"},
		{"name":"业务分管领导意见","code":"chargeLeader_content","type":"sign"},
		{"name":"党委会意见","code":"dean_content","type":"sign"}
			
	]
	
	return {
		type	: typeConfig,
		module 	: modulConfig,
		field 	: fieldConfig		
	}
});